<?php
/**
 * Created by PhpStorm.
 * User: liuxin
 * Date: 2018/1/9
 * Time: 上午11:49
 */
namespace common\components;
use \Yii;

class Factory
{
    public static function Redis()
    {
        return Yii::$app->redis;
    }
}